﻿package com.project.service;

import java.util.List;

import	com.project.entity.*;
public interface DataManage {
	
	//获取所有的项目
//	public List<ProjectManagement> getAllProject(Integer start, Integer end) ;
	public List<ProjectDisplayDetail> getAllProject(Integer followup,Integer start, Integer end);
	
	//获取所有项目的总数目
	public int	countAllProject();
	
	//插入新项目记录
	public boolean insertProject(ProjectManagement projectManagement);
	
	//复合条件查询
	public List<ProjectManagement> multiConditionQuery(String type, String keyWord, String beginYear, String endYear);


	public ProjectDisplayDetail getProjectDetail(Integer projectId);
	
	public void update(ProjectManagement projectManagement);
	
	public void delete(Integer projectId);
	
	public ProjectManagement getById(Integer projectId);
	
	public List<ProjectDisplayDetail> conditionQuery(ProjectManagement projectManagement);
	
	public	ProjectManagement	getByNumber(String projectnumber);
}
